/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       owned_creature_array.h

	$Header: /game/owned_creature_array.h $

	$NoKeywords: $

 ************************************************************************/

#include "precompiled.h"
#include "owned_creature_array.h"

#include "adventure_map.h"
#include "adventure_map_window.h"

t_owned_creature_array::t_owned_creature_array()
{
	m_adventure_map = 0;
	m_owner = -1;
}

t_adventure_frame* t_owned_creature_array::get_adventure_frame() const
{
	t_adventure_map_window* window = m_adventure_map->get_map_window();

	if (window == 0)
		return 0;
	return window->get_frame();
}

t_adventure_map* t_owned_creature_array::get_map() const
{
	return m_adventure_map;
}

int t_owned_creature_array::get_owner_number() const
{
	return m_owner;
}


